_aaaa_cccc_cccc_tttt_cccc_oooo_nnnn converts a sequence of login/logoff records to total accounting
records (see the _tttt_aaaa_cccc_cccc_tttt format in _aaaa_cccc_cccc_tttt(4)). Login/logoff records are read
from standard input. The file _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_wwww_tttt_mmmm_pppp is usually the source of the
login/logoff records; however, because it may contain corrupted records
or system date changes, it should first be fixed using _wwww_tttt_mmmm_pppp_ffff_iiii_xxxx. The
fixed version of file _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_wwww_tttt_mmmm_pppp can then be redirected to _aaaa_cccc_cccc_tttt_cccc_oooo_nnnn.
The _tttt_aaaa_cccc_cccc_tttt records are written to standard output. Here are the options
for _aaaa_cccc_cccc_tttt_cccc_oooo_nnnn:
_----_llll _f_i_l_e _f_i_l_e is created to contain a summary of line usage showing line
name, number of minutes used, percentage of total elapsed time
used, number of sessions charged, number of logins, and number
of logoffs. This file helps track line usage, identify bad
lines, and find software and hardware oddities. Hangup,
termination of _llll_oooo_gggg_iiii_nnnn(1), and termination of the login shell
each generate logoff records, so that the number of logoffs is
often three to four times the number of sessions. See _iiii_nnnn_iiii_tttt(1M)
and _uuuu_tttt_mmmm_pppp(4).
_----_oooo _f_i_l_e _f_i_l_e is filled with an overall record for the accounting
period, giving starting time, ending time, number of reboots,
and number of date changes.
_aaaa_cccc_cccc_tttt_cccc_oooo_nnnn is a combination of the programs _aaaa_cccc_cccc_tttt_cccc_oooo_nnnn_1111 and _aaaa_cccc_cccc_tttt_cccc_oooo_nnnn_2222. _aaaa_cccc_cccc_tttt_cccc_oooo_nnnn_1111
converts login/logoff records, taken from the fixed _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_wwww_tttt_mmmm_pppp file,
to ASCII output. _aaaa_cccc_cccc_tttt_cccc_oooo_nnnn_2222 reads the ASCII records produced by _aaaa_cccc_cccc_tttt_cccc_oooo_nnnn_1111
and converts them to _tttt_aaaa_cccc_cccc_tttt records. _aaaa_cccc_cccc_tttt_cccc_oooo_nnnn_1111 can be used with the _----_llll and
_----_oooo options, described above, as well as with the following options:
_----_pppp Print input only, showing line name, login name, and time (in
both numeric and date/time formats).
_----_tttt _aaaa_cccc_cccc_tttt_cccc_oooo_nnnn_1111 maintains a list of lines on which users are logged
in. When it reaches the end of its input, it emits a session
record for each line that still appears to be active. It
normally assumes that its input is a current file, so that it
uses the current time as the ending time for each session still
in progress. The _----_tttt flag causes it to use, instead, the last
time found in its input, thus assuring reasonable and